//
//  VisitRecordTableViewCell.h
//  YunGui
//
//  Created by wmm on 16/4/5.
//  Copyright © 2016年 hanen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VisitRecordModel.h"
#import "MyButton.h"

@protocol TableViewRecordDelegate

- (void)setCellHeight:(NSString *)value;

@end

@interface VisitRecordTableViewCell : UITableViewCell


@property (strong, nonatomic) UILabel *visitDate;
@property (strong, nonatomic) UILabel *contactLab;
@property (strong, nonatomic) UILabel *phoneLab;

@property (strong, nonatomic) UIImageView *visitPic1;
@property (strong, nonatomic) UIImageView *visitPic2;
@property (strong, nonatomic) UIImageView *visitPic3;

@property (strong, nonatomic) NSArray *visitPicArray;
@property (strong, nonatomic) MyButton *openBtn;
@property (assign, nonatomic) BOOL isOpen;

@property (strong, nonatomic) VisitRecordTableViewCell * cell;
@property (strong, nonatomic) UILabel *label;
@property (strong, nonatomic) MyButton *btn;
@property (strong, nonatomic) UIView *picView;
@property (strong, nonatomic) UIView *bottomLine;
@property (strong, nonatomic) UIView *leftLine2;
@property (strong, nonatomic) VisitRecordModel *recordModel;

@property (strong, nonatomic) UIImageView *quanImg;

- (VisitRecordTableViewCell *)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier VisitRecordModel:(VisitRecordModel *)recordModel  Frame:(CGRect) rect ;
//- (VisitRecordTableViewCell *)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier Frame:(CGRect) rect;

-(void)setRecordModel:(VisitRecordModel *)recordModel;
-(float)returnRowHeight;
-(id)returnBtn;

@end
